package com.diaohaiwen.basic.account;

import com.diaohaiwen.common.log.EnableOperatorLog;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableOperatorLog
@EnableDiscoveryClient
@SpringBootApplication
public class BasicAccountApplication {

    public static void main(String[] args) {
        SpringApplication.run(BasicAccountApplication.class, args);
//        String url = "jdbc:postgresql://127.0.0.1:5432/account?autoReconnect=true";
//        String username = "postgres";
//        String password = "postgres";
//
//        MybatisGenerator.builder()
//                .author("刁海文")
//                .url(url)
//                .username(username)
//                .password(password)
//                .clazz(BasicAccountApplication.class)
//                .enableController(true)
//                .build()
//                .generate();
    }


}
